package org.ben.birthday.twentybirthday.dao;

import org.ben.birthday.twentybirthday.entity.BackgroundMusic;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author: Ben
 * @Date: 2019/8/8 13:44
 */
public interface BackGroundMusicDaoRepository extends JpaRepository<BackgroundMusic,Integer> {

    /**
     * 根据背景音乐地址查询
     * @param musicUrl
     * @return List<BackgroundMusic>
     */
    List<BackgroundMusic> findBackgroundMusicByMusicUrl(String musicUrl);
}
